{template 'include/header'}
<div class="container container-fill">
	<style type="text/css">
	.clearfix:after {content: "";display: block;visibility: hidden;height: 0;clear: both;}
	input[type="text"]{ -webkit-appearance: none; }
	textarea{-webkit-appearance: none;}
	body{background: #f2f2f2;margin: 0;padding: 0;}
	p{margin: 0;}
	.gy_d1{width: 100%;height: 46px;background: #fff;border-bottom: 1px solid #e7e7e7;position: fixed;top: 0;left: 0;z-index: 10;}
	.gy_d1l_img{width: 24px;float: left;margin-top: 11px;}
	.gy_d1l_spn{line-height: 46px;}
	.gy_d1l{width: 23%;float: left;margin-left: 2%}
	.gy_d1c{width: 50%;float: left;text-align: center;line-height: 46px;}
	.diploma_d{width: 80%;background: #fff;box-shadow: 0 0 5px #ccc;margin: 10%;padding-top: 20px;}
	.diploma_d_p1{margin: 0px 7%;font-size: 14px;color: #333;padding: 6px 3%;border: 1px dotted #e7e7e7;}
	.diploma_d_p2{padding: 0 10%;font-size: 13px;color: #666;text-align: center;margin-bottom: 20px;}
	.diploma_d_p3{font-size: 14px;color: #333;text-align: center;padding:30px 0 10px 0;font-weight: 500; }
	.diploma_d_p1_p{float: right;font-size: 12px;color: #999;}
	.diploma_d_p1_p span{font-size: 16px;color: #cc1f26;}
	.diploma_d_ipt1{border-style: none;width:86%;height: 40px;border: 1px solid #e7e7e7;margin-left: 7%;border-radius: 0px;}
	.diploma_d_btn1{width: 100%;height: 40px;line-height: 40px;font-size: 14px;color: #fff;background: #43ac43;border-style: none;margin-top: 30px;}
	</style>
</head>

<body>
<div class="gy_d1">
	<div class="gy_d1l" onClick="javascript:history.back(-1);"><img class="gy_d1l_img" src="<?php echo MODULE_URL;?>/template/mobile/img/gy_l.png"><span class="gy_d1l_spn">返回</span></div>
	<div class="gy_d1c">生成证书</div>
	<div class="clearfix"></div>
</div>
<div style="height:46px;"></div>
	<div class="diploma_d">
		<p class="diploma_d_p2">您的每一次善举，都会帮到更多的人，公益事业，感谢有您！</p>
		<div class="diploma_d_p1" style="border-bottom:none">
			<p style="float:left">捐款总金额：</p>
			<p class="diploma_d_p1_p"><span>{$list['sum']}</span>元</p>
			<div class="clearfix"></div>
		</div>	
		<div class="diploma_d_p1">
			<p style="float:left">捐款次数：</p>
			<p class="diploma_d_p1_p"><span>{$list['count']}</span>次</p>
			<div class="clearfix"></div>
		</div>	
		<p class="diploma_d_p3">请输入您的真实姓名</p>
		<input class="diploma_d_ipt1" type="text" placeholder="填写姓名" id="name">
		<button class="diploma_d_btn1" onclick="dodiploma();" type="button">确定生成捐献证书</button>
	</div>	 
</div> 
<script>
	function dodiploma(){
		var name = $("#name").val();
		location.href="{php echo $this->createMobileUrl('dodiploma');}&name="+name;
	}
</script>  
</body>
</html>
